package cn.fxl.system.service.impl;

import cn.fxl.basic.service.impl.BasicServiceImpl;
import cn.fxl.system.domain.SystemDictionaryDetail;
import cn.fxl.system.mapper.SystemDictionaryDetailMapper;
import cn.fxl.system.service.ISystemDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemDictionaryDetailServiceImpl extends BasicServiceImpl<SystemDictionaryDetail> implements ISystemDictionaryDetailService {
    @Autowired
    private SystemDictionaryDetailMapper systemDictionaryDetailMapper;
    @Override
    public void deleteFortypeid(Long id) {
        systemDictionaryDetailMapper.deleteFortypeid(id);
    }

    public List<SystemDictionaryDetail> getname(Long id) {
       return systemDictionaryDetailMapper.getname(id);
    }
}
